package com.example.mapper;

import com.example.pojo.entitly.DrugUser;
import com.example.pojo.dto.DrugUserRegDTO;
import com.example.pojo.vo.DrugUserVO;

/**
* @author tan
* @description 针对表【drug_user】的数据库操作Mapper
* @createDate 2022-10-20 08:29:28
* @Entity com.example.pojo.entitly.DrugUser
*/
public interface DrugUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DrugUser record);

    int insertSelective(DrugUser record);

    DrugUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DrugUser record);

    int updateByPrimaryKey(DrugUser record);


    DrugUserVO selectByUsername(String username);

    void insertDurgUser(DrugUserRegDTO drugUser);
}
